public class Main3 {
    String s = new String("hello");
    char[] a = {'a','b','c'};

    public static void main(String[] args) {
        Main3 m = new Main3();
        change(m.s,m.a);
        System.out.println(m.s+" ");
        System.out.println(m.a);
    }
    public static void change(String s,char[] array) {
        s = "good";
        array[0] = 'g';
    }
}
